﻿/*-------------------------------------------------------------------------
* 命名空间: VisionProcess/OperateResult
* 类       名: OperateResult
* 功      能:  TD
* 时      间:  2024/1/24 14:38:58
* 版      本:  V1.0
* 作      者:  Fioman
* 格      言:  Talk is cheap,show me the code ^_^
*-------------------------------------------------------------------------*/
namespace VisionProcess
{
    public class OperateResult<T>
    {
        // 默认设置为false,失败
        public bool State { get; set; } = false;

        public string? Message { get; set; }
        public T? Data { get; set; }
    }

    public class OperateResult : OperateResult<string> { }
}
